Skip to content

Fix offset values for PMIC I2C in the pinctrl generation script. #584

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

EmilioCBen
Copy link
Collaborator

Fix offset values for PMIC I2C in the pinctrl generation script.
e.g. 96 -> 0x60 and not 96 -> 0x96.

Updated the scripts offset value for the
PMIC I2C signals when using RT7XX Devices.
An accidental prefix '0x' was added to the
offset's actual decimal value. e.g. 96 -> 0x96.
Real value should be 96 -> 0x60.

Signed-off-by: Emilio Benavente <[email protected]>
Updated the offset values for the PMIC I2C to point
to the correct offset values.

Signed-off-by: Emilio Benavente <[email protected]>
@@ -14,8 +14,8 @@
(((offset) & 0xFFF) << 20) | \
(((mux) & 0xF) << 0))

#define PMIC_I2C_SCL IOPCTL_MUX(1, 150, 0) /* PIO0_0 */
#define PMIC_I2C_SDA IOPCTL_MUX(1, 151, 0) /* PIO0_0 */
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you rerun the script or was this manually fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants